package com.bestdreamer.lock;


public class Demo2ThreadA extends Thread {

    private final Demo2Service service;
    public Demo2ThreadA(Demo2Service service){
        super();
        this.service = service;
    }

    @Override
    public void run() {
        service.read();
    }
}
